package com.ams.media.mp4;

import java.io.DataInputStream;
import java.io.IOException;

public final class STSS extends BOX {
    private int[] syncTable;

    public STSS(int version) {
        super(version);
    }

    public void read(DataInputStream in) throws IOException {
        int count = in.readInt();
        syncTable = new int[count];
        for (int i = 0; i < count; i++) {
            syncTable[i] = in.readInt();
        }
    }

    public int[] getSyncTable() {
        return syncTable;
    }

}
